package cqrtplm.entity;


import javax.persistence.*;

import java.sql.Timestamp;

import cqrtplm.log.ObjectComparator;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Entity
@Table(name = "RT_CERT_COMBCERT")
@AllArgsConstructor
@NoArgsConstructor
public class RtCertCombCertDO {
    @Id
    @Column(name = "ID", length = 100, nullable = false)
    private String id;

    @Column(name = "CERTCODE", length = 100, nullable = false)
    private String certcode;

    @Column(name = "CERTNAME", length = 500)
    private String certname;

    @Column(name = "CERTDESC", length = 500)
    private String certdesc;

    @Column(name = "SALESAREAS", length = 500)
    private String salesareas;

    @Column(name = "REMARK", length = 500)
    private String remark;

    @Column(name = "CREATEUSERID", length = 100)
    @ObjectComparator.RTIgnore
    private String createuserid;

    @Column(name = "CREATEUSERNAME", length = 100)
    @ObjectComparator.RTIgnore
    private String createusername;

    @Column(name = "CREATETIME")
    @ObjectComparator.RTIgnore
    private Timestamp createtime;

    @Column(name = "UPDATEUSERID", length = 100)
    @ObjectComparator.RTIgnore
    private String updateuserid;

    @Column(name = "UPDATEUSERNAME", length = 100)
    @ObjectComparator.RTIgnore
    private String updateusername;

    @Column(name = "UPDATETIME")
    @ObjectComparator.RTIgnore
    private Timestamp updatetime;

    @Column(name = "STATE", length = 5)
    private String state;

    @Column(name = "FROZENTIME")
    private Timestamp frozentime;

    @Column(name = "COMBIDS")
    private String combids;

    @Column(name = "SORTEDNAME")
    private String sortedname;

}

